Fast counting of medium-sized rooted subgraphs
نویسندگان
چکیده
We prove that counting copies of any graph F in another graph G can be achieved using basic matrix operations on the adjacency matrix of G. Moreover, the resulting algorithm is competitive for medium-sized F : our algorithm recovers the best known complexity for rooted 6-clique counting and improves on the best known for 9-cycle counting. Underpinning our proofs is the new result that, for a general class of graph operators, matrix operations are homomorphisms for operations on rooted graphs.
منابع مشابه
ESCAPE: Efficiently Counting All 5-Vertex Subgraphs
Counting the frequency of small subgraphs is a fundamental technique in network analysis across various domains, most notably in bioinformatics and social networks. The special case of triangle counting has received much attention. Getting results for 4-vertex or 5-vertex patterns is highly challenging, and there are few practical results known that can scale to massive sizes. We introduce an a...
متن کاملThe parameterised complexity of counting even and odd induced subgraphs
We consider the problem of counting, in a given graph, the number of induced k-vertex subgraphs which have an even number of edges, and also the complementary problem of counting the k-vertex induced subgraphs having an odd number of edges. We demonstrate that both problems are #W[1]-hard when parameterised by k, in fact proving a somewhat stronger result about counting subgraphs with a propert...
متن کاملThe challenges of unbounded treewidth in parameterised subgraph counting problems
Many of the existing tractability results for parameterised problems which involve finding or counting subgraphs with particular properties rely on bounding the treewidth of the minimal subgraphs having the desired property. In this paper, we give a number of hardness results – for decision, approximate counting and exact counting – in the case that this condition on the minimal subgraphs havin...
متن کاملGenerating All Maximal Induced Subgraphs for Hereditary Connected-Hereditary and Rooted-Hereditary Properties
The problem of computing all maximal induced subgraphs of a graph G that have a graph property P , also called the maximal P-subgraphs problem, is considered. This problem is studied for hereditary, connected-hereditary and rooted-hereditary graph properties. The maximal Psubgraphs problem is reduced to restricted versions of this problem by providing algorithms that solve the general problem, ...
متن کاملCounting Subgraphs via Homomorphisms
We introduce a generic approach for counting subgraphs in a graph. The main idea is to relate counting subgraphs to counting graph homomorphisms. This approach provides new algorithms and unifies several well known results in algorithms and combinatorics including the recent algorithm of Björklund, Husfeldt and Koivisto for computing the chromatic polynomial, the classical algorithm of Kohn, Go...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1701.00177 شماره
صفحات -
تاریخ انتشار 2016